package com.handsome.装饰者模式.装饰者类;

import com.handsome.装饰者模式.Drink;

/**
 * @author niechun
 * @date 2023/2/27 20:38
 */
public class Milk extends Decorator{
    public Milk(Drink drink) {
        super(drink);
        setPrice(2.0f);
        setDescription("牛奶");
    }
}
